<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
<div class="fullscreen">
  <div class="scroll_content">
    <div class="topfixed">
      <div class="t_left"><a href="/index.php?m=user&a=edilist"><i class="back"></i></a></div>
      <div class="t_main">修改密码</div>
    </div>
    {include file="user/incuser.html"}
    <form id="xform">
    <div class="comblock">
                <table class="order_pingjia_table">
                    <tr>
                        <td><input type="password"   id="oldpassword" name="oldpassword" class="inp full" placeholder="请输入旧密码"></td>
                    </tr>
                    <tr>
                        <td><input type="password" id="inputPassword" name="password" class="inp full" placeholder="请输入新密码"></td>
                    </tr>
                    <tr>
                        <td><input type="password" id="inputPassword2" name="password2" class="inp full" placeholder="请再次输入新密码"></td>
                    </tr>


                </table>
            </div>
            </form>
            <button id="submit" class="cart_change_btn">修改密码</button>
 </div>
 
 </div>
  
{include file="footer.html"}
<script>
$(function(){
	$(document).on("click","#submit",function(){
		$.post("/index.php?m=user&a=passwordsave&ajax=1",$("#xform").serialize(),function(data){
			skyToast(data.message);
		},"json");
	});
})
</script>
</body>
</html>